﻿using AiQiuQuan.Sport.Model.Enums;

namespace AiQiuQuan.Sport.Model.Models
{
    /// <summary>
    /// 课程购买信息
    /// </summary>
    public class CouseBuyInfoDto
    {
        /// <summary>
        /// 课程ID
        /// </summary>
        public Guid CourseId { get; set; }

        /// <summary>
        /// 课程名称
        /// </summary>
        public string CourseName { get; set; }

        /// <summary>
        /// 课程URL
        /// </summary>
        public string CourseHeadUrl { get; set; }

        /// <summary>
        /// 1次数课程、2期间课程、3活动课程
        /// </summary>
        public CourseTypeEnum CourseType { get; set; }

        /// <summary>
        /// 课程明细ID
        /// </summary>
        public Guid CourseDetailId { get; set; }

        /// <summary>
        /// 次数/次数课程
        /// </summary>
        public int TimesCount { get; set; }

        /// <summary>
        /// 有效月数/次数课程、期间课程
        /// </summary>
        public int ValidMonth { get; set; }

        /// <summary>
        /// 开始日期/活动课程
        /// </summary>
        public DateTimeOffset? StartTime { get; set; }

        /// <summary>
        /// 结束日期/活动课程
        /// </summary>
        public DateTimeOffset? EndTime { get; set; }

        /// <summary>
        /// 价格
        /// </summary>
        public decimal Price { get; set; }
    }
}
